return nativeHasExplicitPassphraseTime(mNativeProfileSyncServiceAndroid);
}
+ /**
+ * Returns the current explicit passphrase time in milliseconds since epoch.
+ */
+ public long getExplicitPassphraseTime() {
+ assert isSyncInitialized();
+ return nativeGetExplicitPassphraseTime(mNativeProfileSyncServiceAndroid);
+ }
+
public String getSyncEnterGooglePassphraseBodyWithDateText() {
assert isSyncInitialized();
return nativeGetSyncEnterGooglePassphraseBodyWithDateText(mNativeProfileSyncServiceAndroid);
}
/**
+ * Checks if encrypting all the data types is allowed.
+ *
+ * @return true if encrypting all data types is allowed, false if only passwords are allowed to
+ * be encrypted.
+ */
+ public boolean isEncryptEverythingAllowed() {
+ assert isSyncInitialized();
+ return nativeIsEncryptEverythingAllowed(mNativeProfileSyncServiceAndroid);
+ }
+
+ /**
* Checks if the all the data types are encrypted.
*
* @return true if all data types are encrypted, false if only passwords are encrypted.
private native int nativeGetAuthError(long nativeProfileSyncServiceAndroid);
private native boolean nativeIsSyncInitialized(long nativeProfileSyncServiceAndroid);
private native boolean nativeIsFirstSetupInProgress(long nativeProfileSyncServiceAndroid);
+ private native boolean nativeIsEncryptEverythingAllowed(long nativeProfileSyncServiceAndroid);
private native boolean nativeIsEncryptEverythingEnabled(long nativeProfileSyncServiceAndroid);
private native void nativeEnableEncryptEverything(long nativeProfileSyncServiceAndroid);
private native boolean nativeIsPassphraseRequiredForDecryption(
private native boolean nativeIsCryptographerReady(long nativeProfileSyncServiceAndroid);
private native int nativeGetPassphraseType(long nativeProfileSyncServiceAndroid);
private native boolean nativeHasExplicitPassphraseTime(long nativeProfileSyncServiceAndroid);
+ private native long nativeGetExplicitPassphraseTime(long nativeProfileSyncServiceAndroid);
private native String nativeGetSyncEnterGooglePassphraseBodyWithDateText(
long nativeProfileSyncServiceAndroid);
private native String nativeGetSyncEnterCustomPassphraseBodyWithDateText(