Home
last modified time | relevance | path

Searched refs:tokenBytes (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
DRulesManagerServiceTest.java297 byte[] tokenBytes = createArbitraryTokenBytes(); in getRulesState_operationInProgress()
300 mRulesManagerService.requestInstall(parcelFileDescriptor, tokenBytes, callback); in getRulesState_operationInProgress()
321 byte[] tokenBytes = createArbitraryTokenBytes(); in requestInstall_operationInProgress()
326 mRulesManagerService.requestInstall(parcelFileDescriptor1, tokenBytes, callback)); in requestInstall_operationInProgress()
336 mRulesManagerService.requestInstall(parcelFileDescriptor2, tokenBytes, callback)); in requestInstall_operationInProgress()
377 byte[] tokenBytes = createArbitraryTokenBytes(); in requestInstall_nullParcelFileDescriptor()
381 mRulesManagerService.requestInstall(parcelFileDescriptor, tokenBytes, callback); in requestInstall_nullParcelFileDescriptor()
398 byte[] tokenBytes = createArbitraryTokenBytes(); in requestInstall_nullCallback()
402 mRulesManagerService.requestInstall(parcelFileDescriptor, tokenBytes, callback); in requestInstall_nullCallback()
423 byte[] tokenBytes = token.toByteArray(); in requestInstall_asyncSuccess()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/timezone/
DRulesUpdaterContractTest.java55 byte[] tokenBytes = new byte[] { 1, 2, 3, 4, 5 }; in sendBroadcast()
58 expectedIntent.putExtra(RulesUpdaterContract.EXTRA_CHECK_TOKEN, tokenBytes); in sendBroadcast()
62 RulesUpdaterContract.sendBroadcast(mockContext, packageName, tokenBytes); in sendBroadcast()
/frameworks/base/services/core/java/com/android/server/timezone/
DCheckToken.java57 static CheckToken fromByteArray(byte[] tokenBytes) throws IOException { in fromByteArray() argument
58 ByteArrayInputStream bais = new ByteArrayInputStream(tokenBytes); in fromByteArray()